QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

General MIDI Instrument Information Structure

The General MIDI instrument information structure provides information about a General MIDI instrument within an instrument component. It is defined by the GMInstrumentInfo data type.

struct GMInstrumentInfo {
    long                        cmpInstID;
    long                        gmInstNum;
    long                        instMatch;
};
typedef struct GMInstrumentInfo GMInstrumentInfo;
typedef GMInstrumentInfo *GMInstrumentInfoPtr;
typedef GMInstrumentInfoPtr *GMInstrumentInfoHandle;
cmpInstID
The number of the instrument within the instrument component.

gmInstNum
The General MIDI, or standard, instrument number.

instMatch
A flag indicating how the instrument matches the requested instrument. See "Instrument Match Flags" [link] .


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |